package com.crrc.dataparse.entity;

import java.io.Serializable;
import java.util.List;

public class Protocol implements Serializable {
    private String oid;
    private String protocalName;
    private String packetSource;
    private ProTreatClass templateRecogClass;
    private Integer parseMethod;
    private String tempRegParameter;
    private Integer parseMethodMC;
    private List<Pro2Temp> pro2TempList;
    private String proRegPosition;
    private String proRegLength;
    private String verifyClass;
    private String linePara;
    private String carPara;
    private String terminalPara;
    private List<Pro2TemPara> paraList;

    public Protocol() {
    }
    public void setLinePara(String linePara) {
        this.linePara = linePara;
    }

    public void setCarPara(String carPara) {
        this.carPara = carPara;
    }

    public void setTerminalPara(String terminalPara) {
        this.terminalPara = terminalPara;
    }

    public List<Pro2TemPara> getParaList() {
        return this.paraList;
    }

    public void setParaList(List<Pro2TemPara> paraList) {
        this.paraList = paraList;
    }

    public String getProtocalName() {
        return this.protocalName;
    }

    public void setProtocalName(String protocalName) {
        this.protocalName = protocalName;
    }

    public String getPacketSource() {
        return this.packetSource;
    }

    public void setPacketSource(String packetSource) {
        this.packetSource = packetSource;
    }

    public String getOid() {
        return this.oid;
    }

    public ProTreatClass getTemplateRecogClass() {
        return this.templateRecogClass;
    }

    public void setTemplateRecogClass(ProTreatClass templateRecogClass) {
        this.templateRecogClass = templateRecogClass;
    }

    public List<Pro2Temp> getPro2TempList() {
        return this.pro2TempList;
    }

    public void setPro2TempList(List<Pro2Temp> pro2TempList) {
        this.pro2TempList = pro2TempList;
    }

    public String getTempRegParameter() {
        return this.tempRegParameter;
    }

    public void setTempRegParameter(String tempRegParameter) {
        this.tempRegParameter = tempRegParameter;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public void setVerifyClass(String verifyClass) {
        this.verifyClass = verifyClass;
    }

    @Override
    public String toString() {
        return "Protocol{oid=" + this.oid + ", protocalName=" + this.protocalName + ", tempRegParameter=" + this.tempRegParameter + ", packetSource=" + this.packetSource + ",templateRecogClass="+this.templateRecogClass  + '}';
    }
}

